package com.westos.userauth.dao.mybatis;


/**
 * @Description
 * @Date 2020/11/15
 * @Created by 张琳梓
 */

import com.westos.userauth.domain.Person;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
@Mapper
public interface PersonDAO {
    int deletePersonByPartyId(String partyId);

    int insertPerson(Person person);

   /* List<Person> queryPerson(Date date);*/

    Person queryById(String partyId);

    int updatePerson(@Param("person") Person person,@Param("partyId") String partyId);
}
